package thread.demo10.WaitAndNotify;

public class Test {
    public static void main(String[] args) {
        Car car = new Car();

        Thread producer = new Producer(car);
        Thread consumer = new Consumer(car);

        producer.start();
        consumer.start();
    }
}
